package ch1;

import java.util.Scanner;

public class Calc {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("请输入整数两个：");
		int a = in.nextInt();
		int b = in.nextInt();
		int shang = a / b;
		int yu = a % b;
		System.out.println("商" + shang + ",余数=" + yu);

	}

}
